<?php if (!defined('THINK_PATH')) exit(); if(is_array($data)): foreach($data as $key=>$vo): ?><a href="__URL__/info/id/<?php echo ($vo["id"]); ?>"><li><img src="__ROOT__/Uploads/<?php echo ($vo["img"]); ?>" alt="" /><p><span><?php echo ($vo["collection"]); ?></span><?php echo ($vo["title"]); ?></p></li></a><?php endforeach; endif; ?>